package com.mashibing.remote;

import com.mashibing.internalcommon.dto.ResponseResult;
import com.mashibing.internalcommon.request.PointRequest;
import com.mashibing.internalcommon.response.TerminalResponse;
import com.mashibing.internalcommon.response.TrackResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("service-map")
public interface ServiceMapClient {

    /**
     * 上传轨迹
     * @param pointRequest
     * @return
     */
    @RequestMapping(method = RequestMethod.POST,value = "/uploadTrack")
    ResponseResult uploadTrack(@RequestBody PointRequest pointRequest);
}
